package com.zzsz.cf.translation.mapper;

import com.zzsz.cf.translation.entity.ProductCategoryExtension;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductCategoryExtensionMapper {
    // 根据分类ID列表查询扩展信息
    List<ProductCategoryExtension> selectByCategoryIds(List<Integer> categoryIds);

    int insert(ProductCategoryExtension extension);
    int updateStatus(@Param("categoryId") Integer categoryId, @Param("status") Integer status);
    int deleteByCategoryIds(@Param("categoryIds") List<Integer> categoryIds);


}